package com.paranoidmonkey.ode;

public class Contact extends ODEObject{
	public Contact(){
		handle=AndrODE.CreateContact();
	}
	
	public void destroy(){
		AndrODE.DestroyContact(handle);
	}
	
	public void setFdir(Vector3 vec){
		AndrODE.contactSetFdir(handle, vec.data);
	}
	public Vector3 getFdir(){
		return new Vector3(AndrODE.contactGetFdir(handle));
	}
	
	public ContactGeom getContactGeom(){
		return new ContactGeom(AndrODE.contactgeomGetContactGeom(handle));
	}

	public SurfaceParameters getSurface(){
		return new SurfaceParameters(AndrODE.contactGetSurface(handle));
	}

}
